import net from '@/common/net.js'
/**
 * 通过验证码登录
 */
export default function LoginByCode(data) {
  return net({
    url: '/loginByCode',
    method: 'POST',
    header: {
      'content-type': 'application/x-www-form-urlencoded',
    },
    data,
  })
}
